package com.himilco.ocana.workflow.core.dao.entities;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;

@Entity
public class MyMessage implements Serializable {
	@Id
	String idMessage;
	@Column 
	String content;
	
	public String getIdMessage() {
		return idMessage;
	}
	public void setIdMessage(String idMessage) {
		this.idMessage = idMessage;
	}
	@Override
	public String toString() {
		return "MyMessage [idMessage=" + idMessage + ", content=" + content
				+ "]";
	}
	public MyMessage(String idMessage, String content) {
		super();
		this.idMessage = idMessage;
		this.content = content;
	}
	public MyMessage() {

	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	

}
